package at.fhj.antesk.steamvaluecalc;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class DatabaseAccess {
	
	private Connection connection;

	public Connection getConnection() {
		return connection;
	}

	public DatabaseAccess(){
		try {
			connection = DriverManager.getConnection("jdbc:mysql://db4free.net/steamprofiler", "spa20", "analyzer1");
//			connection = DriverManager.getConnection("jdbc:mysql://localhost/steamprofiler", "root", "");
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}
}
